home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-23 | 2.0 KB | 86 lines | [TEXT/CWIE] |
- // DDocData -- data class for LayerGroups
-
- #pragma once
-
- #include "AMSignaler.h"
-
-
- const long idTabs = 'Tabs';
- const long idEditText = 'Edit';
- const long idScrollBar = 'Scrr';
- const long idListChoice0 = 'Lis0';
- const long idOptionOne = 'Opte';
- const long idOptionTwo = 'Opto';
- const long idEditText2 = 'Edi2';
- const long idInfinity2 = 'Inf2';
- const long idProgressBar = 'Pror';
- const long idEditText3 = 'Edi3';
- const long idPopupChoice = 'Pope';
- const long idListChoice1 = 'Lis1';
-
- class AMEngine;
-
- //----------
- class DDocData : public AMSignaler {
- public:
- DDocData ();
- virtual ~DDocData ();
-
- public:
- void CopyFrom (const DDocData& inOther);
- void ReadFromFile (AMEngine* engine);
- void WriteToFile (AMEngine* engine);
-
- public:
- UInt16 GetTabs () const;
- void SetTabs (UInt16 inValue);
-
- LongDateRec GetEditText () const;
- void SetEditText (LongDateRec inValue);
-
- SInt16 GetScrollBar () const;
- void SetScrollBar (SInt16 inValue);
-
- SInt16 GetListChoice0 () const;
- void SetListChoice0 (SInt16 inValue);
-
- Boolean GetOptionOne () const;
- void SetOptionOne (Boolean inValue);
-
- SInt16 GetOptionTwo () const;
- void SetOptionTwo (SInt16 inValue);
-
- StringPtr GetEditText2 (Str255 outStr = nil) const;
- void SetEditText2 (Str255 inValue);
- void SetEditText2 (CharsHandle inValue);
-
- SInt16 GetInfinity2 () const;
- void SetInfinity2 (SInt16 inValue);
-
- SInt16 GetProgressBar () const;
- void SetProgressBar (SInt16 inValue);
-
- StringPtr GetEditText3 (Str255 outStr = nil) const;
- void SetEditText3 (Str255 inValue);
- void SetEditText3 (CharsHandle inValue);
-
- SInt32 GetPopupChoice () const;
- void SetPopupChoice (SInt32 inValue);
-
- SInt16 GetListChoice1 () const;
- void SetListChoice1 (SInt16 inValue);
-
- protected:
- UInt16 mTabs;
- LongDateRec mEditText;
- SInt16 mScrollBar;
- SInt16 mListChoice0;
- Boolean mOptionOne;
- SInt16 mOptionTwo;
- Str255 mEditText2;
- SInt16 mInfinity2;
- SInt16 mProgressBar;
- Str255 mEditText3;
- SInt32 mPopupChoice;
- };
-